﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;

namespace SJ.Platform.EFCore.Model.UserManager;

[Table("sys_r_userandorg")]
[Description("用户历史组织机构表")]
/// <summary>
/// 用户历史组织机构关系
/// </summary>
public partial class SysRUserandorg
{
    /// <summary>
    /// 主键
    /// </summary>
    public string Id { get; set; } = null!;

    /// <summary>
    /// 用户ID
    /// </summary>
    public string UserId { get; set; } = null!;

    /// <summary>
    /// 组织机构ID
    /// </summary>
    public string OrgId { get; set; } = null!;

    /// <summary>
    /// 添加时间
    /// </summary>
    public DateTime? AddTime { get; set; }

    /// <summary>
    /// 添加人
    /// </summary>
    public string? AddUserId { get; set; }
}
